<template>
  <div class="login-phone">
    <el-form label-width="60px"  :model="account_phone">
      <el-form-item label="手机号" prop="phone_number">
        <el-input v-model="account_phone.phone_number"/>
      </el-form-item>
      <el-form-item label="验证码" prop="verification_code">
        <div class="get-code">
          <el-input v-model="account_phone.verification_code"/>
        <el-button type="primary" class="get-btn">获取验证码</el-button>
        </div>

      </el-form-item>
    </el-form>
  </div>
</template>

<script lang="ts">
import { defineComponent,reactive,ref } from 'vue'

export default defineComponent({

  setup () {
    const account_phone = reactive({
    phone_number:'',
    verification_code:''
  })

    return {
      account_phone
    }
  }
})
</script>

<style scoped lang="less">
.get-code {
  display: flex;
}

.get-btn {
  margin-left: 8px;
}
</style>